import {Progress} from 'antd';
import {PROGRESS_COLOR} from '~/page/FineBi/utils/color';

export default props => {
    const {percent} = props;
    return (
        <Progress
            type="dashboard"
            percent={percent}
            format={percent => `${percent}%`}
            strokeColor={PROGRESS_COLOR}
        />
    );
};

